import { Injectable } from '@angular/core';
import { HttpClientService } from '../../../../../services/http-client.service';
@Injectable()
export class RouteRevokeService {

  constructor(public httpClient: HttpClientService) { }

  //在途模式撤销
  recall(putBody) {
    return this.httpClient.put('/pms/v1/riskmanage/recall', putBody);
  }
  //解锁
  unlock(getBody){
    return this.httpClient.get('/pms/v1/riskmanage/unLock', getBody);
  }
  //设置默认接口
  setDefault(postBody) {
    return this.httpClient.post('/pms/v1/sendHis/setDefault', postBody);

  }
  //获取设置默认值
  defaultValue(getBody) {
    return this.httpClient.get('/pms/v1/sendHis/defaultValue', getBody);
  }
}
